home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!amdcad.amd.com!sun!lan.informatik.tu-muenchen.dbp.de
- From: roell@lan.informatik.tu-muenchen.dbp.de (Thomas Roell)
- Newsgroups: comp.sources.x
- Subject: v07i042: VGA X11 Server, Part00/08
- Message-ID: <135716@sun.Eng.Sun.COM>
- Date: 15 May 90 05:59:05 GMT
- Sender: news@sun.Eng.Sun.COM
- Lines: 136
- Approved: argv@sun.com
-
- Submitted-by: Thomas Roell <roell@lan.informatik.tu-muenchen.dbp.de>
- Posting-number: Volume 7, Issue 42
- Archive-name: vga
-
- ----------------------------- Cut here ----------------------------------------
- There it is -- the X11 server of your sleepless nights!
-
-
- FEATURES:
-
- - various resolutions (640x480, 720x540, 864x606)
- - MouseSystems & MicroSoft Mouse support.
- - shared libraries
- - STREAMS connection (no TCP/IP neccessary!!)
- - you need only 80MBytes diskspace for compiling (*smile*)
- - it's free!!!
-
-
- INSTALLATION:
-
- Quite simple, but when you use shared libraries (which are very space-saving!)
- the normal strategie for building X11R4 fails. But anyway it's not so hard to
- do:
- It's assumed that you successfully installed all patches and are
- now in the top directory (ex. /usr/local/X11/mit ).
-
- 1) make Makefile
- 2) make Makefiles
- 3) make includes
- 4) cd lib
- cp Imakefile.new Imakefile
- make Makefile
- cd ..
- 5) make depend
- 6) make
-
- Now all should go it's usual way.
-
- But why all this stuff for shard libs ?
-
- As you might know SYSV shared libraries are just static linked programs with
- a special magic number. Therefor all references must bee resolved befor build
- the library. This means if libb.a uses a symbol defined in liba.a, then liba.a
- MUST be build before libb.a. Now in our case libXt.a depends upon libXext.a,
- which normally will be build after all normal libraries in lib/. Therefore
- libXext.a must be build after libX11.a and before libXt.a.
-
- Ok. -- here are two Imakefiles (Imakefile.old & Imakefile.new). Imakefile.old
- is used first three steps, while Imakefile.new is used for real building X11R4.
-
-
- If some of the above descibed steps failed, you should look in config/ix386.cf
- to set the correct paths and flags. You could have done this before first
- typeing 'make' -- but who reads the README file first ??? (nobody!!!!)
-
-
- HINTS, TIPS & TRICKS:
-
- 1) After installing all X11 stuff you should use following litte script to
- shrink you clients:
-
- for i in *
- do
- strip $i
- mcs -d $i
- done
-
- 2) You should execute 'chmod 755 xterm xload' in /usr/bin/X11.
-
- 3) Remove the 100dpi fonts. if you don't plan to use them. It saves some disk
- space.
-
-
-
- NOTES:
-
- 1) To compile config/imake successfull you should edit config/Makefile.ini to
- contain the statement 'BOOTSTRAPSCFLAGS = -Dix386 -DSYSV -DUSG' , then
- go into config and type 'make -f Makefile.ini'.
-
- 2) There must be a directory called /dev/X !!!!
-
- 3) There must be a /dev/vtxx with no getty-process on it. (i.e an unallocated
- virtual terminal )
-
- 4) This is a quick & dirty port for VGA. I done it because I wanted X11 on my
- 386box ( and not pay $750 for Interactives version!!). There are limits
- on the server. All my experiances with this server caused me to write a
- completely new one (not based upon ibm code). It will provide more modes
- (Monochrom, 4,8,16,256 Colors), more flexibility -- short speaking: It
- will bee much better. I gave away this version only because too many people
- have asked for it now. When the new server is stable enought it will be
- available immediately. But that won't be before autumn '90.
-
- 5) I tested the whole thing only with gcc!!! There may be problems with
- normal cc. At least the server depends on gcc, because here I used inlines
- in gcc syntax.
-
- 6) Compiling the server will require libdbm.a !!! You can obtain a public
- available version of this library for GNU. This library is not standart in
- SYS V/386.
-
- 7) There are minor bugs in server/ddx/ibm/vga. I got no time to fix them all,
- so why don't you do that.
-
- 8) gcc has problems with indirect function calls. That may cause errors in
- the libraries. But as far as I tested the clients there are no more bug's
- (but who knows...).
-
- 9) xman: Here I personally use a special format (may not be standard on SYSV).
- All manpages are located in /usr/man/cat*. As you should notice * stands for
- 1,2,3,4,5,6,7,8,l,n -- the normal way of UNIX-life. But in that directries
- all manpages are preformatted and (thats the important thing) compressed.
- The normal extension is missing (and the '.Z', too!!!!) , so there all
- 14 characters available for name of the function or command.
-
- 10) You are urged to send me all you suggestions, comments, bugfixes and
- improvements. Let's create a better server than all these comercially
- available ones!!!
-
-
- TODO:
-
- 1) Currently there is only support for seriall mice. Let's add more models and
- the variouse bus mice, too.
-
- 2) The library of available graphics modes (i.e. resolutions) is quite small.
-
- 3) There sould be a library of keyboard mappings for different countries
- (german, frence, spain ....).
-
-
- dan
- ----------------------------------------------------
- O'Reilly && Associates argv@sun.com / argv@ora.com
- Opinions expressed reflect those of the author only.
-